<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Jquery中的其余静态方法</title>
</head>
<body>
<script src="./js/jquery-1.12.4.js"></script>
<script>
    $(function () {
        /*1.trim()去除字符串两边的空白
        *2.isArray():判断是数组
        *
        * */
       /* var str = "         Jquery      ";
        console.log("------" + str + "------------");
        var res = $.trim(str);
        console.log("--" + res + "--");*/
        var arr=[1,2,3];
        var likeArr={0:10,1:20,3:30,length:3};
        var obj={"num":1,"name":"jason","sex":0,"score":100};
        var func=function () { }
        var w=window;
        //var res=$.isArray(arr);
        //var res=$.isWindow(w);
        //var res=$.isFunction(func);
        //var res=$.isArray(likeArr);
        console.log(res);
    })
</script>
</body>
</html>